//
//  RequestError.m
//  DDKelai
//
//  Created by Admin on 16/1/9.
//  Copyright © 2016年 chenwenhao. All rights reserved.
//

#import "RequestError.h"

@implementation RequestError

/**
 @brief 封装RequestError
 @param code 错误代码
 @param msg 错误信息
 @return 错误信息RequestError对象
 */
+ (RequestError *)initWithCode:(NSString *)code andErrorMsg:(NSString *)msg
{
    RequestError *err = [[RequestError alloc]init];
    err.errorCode = code;
    err.errorMsg = msg;
    
    return err;
}

@end
